make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sat, 10 Sep 2022 22:05:13 +0000 (23:05 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sat, 10 Sep 2022 22:05:13 +0000 (23:05 +0100)
commite77f3bfdb3a92ac4a8c5b7d244c150fa6408cac5
treeaaef080c143144411f1fa407b4a594d24401814f
parent34a2f41f04a0386cb70a83fab9aeaca3c810705d
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c